dovecot-pigeonhole: fix Makefile syntax to match dovecot
authorJosef Schlehofer <pepe.schlehofer@gmail.com>
Wed, 31 Dec 2025 01:21:38 +0000 (02:21 +0100)
committerJosef Schlehofer <pepe.schlehofer@gmail.com>
Thu, 1 Jan 2026 14:27:12 +0000 (15:27 +0100)
Use $(XARGS) variable instead of plain xargs command, consistent with
the dovecot package implementation. Remove unnecessary space in
EXTRA_DEPENDS version constraint.

Fixes failing error on buildbot:
```
make[3]: warning: jobserver unavailable: using -j1.  Add '+' to parent make rule.
Makefile:62: *** multiple target patterns.  Stop.
time: package/feeds/packages/pigeonhole/compile#0.52#0.42#1.15
```

Signed-off-by: Josef Schlehofer <pepe.schlehofer@gmail.com>
mail/pigeonhole/Makefile

index 5bb31444f938c45f7036b866fd5677908de30c92..f55cc8c3467dd1765bdb2c4ec1ef2f79bb97aa0b 100644 (file)
@@ -11,7 +11,7 @@ PKG_NAME:=dovecot-pigeonhole
 PKG_VERSION_PLUGIN:=0.5.21
 PKG_VERSION_DOVECOT:=$(shell make --no-print-directory -C ../dovecot/ val.PKG_VERSION V=s)
 PKG_VERSION:=$(PKG_VERSION_DOVECOT).$(PKG_VERSION_PLUGIN)
-PKG_RELEASE:=1
+PKG_RELEASE:=2
 
 DOVECOT_VERSION:=2.3
 
@@ -34,7 +34,7 @@ define Package/dovecot-pigeonhole
   SECTION:=mail
   CATEGORY:=Mail
   DEPENDS:=+dovecot
-  EXTRA_DEPENDS:=dovecot (>= $(PKG_VERSION_DOVECOT))
+  EXTRA_DEPENDS:=dovecot (>=$(PKG_VERSION_DOVECOT))
   TITLE:=Mail filtering facilities for Dovecot
   URL:=https://pigeonhole.dovecot.org/
 endef
@@ -56,7 +56,7 @@ define Package/dovecot-pigeonhole/install
        $(INSTALL_BIN) $(PKG_INSTALL_DIR)/usr/bin/* $(1)/usr/bin/
        $(CP) $(PKG_INSTALL_DIR)/usr/lib/dovecot/* $(1)/usr/lib/dovecot/
        $(CP) $(PKG_INSTALL_DIR)/usr/libexec/dovecot/* $(1)/usr/libexec/dovecot/
-       find $(1)/usr/lib/dovecot/ -name "*.a" -o -name "*.la" | xargs rm
+       find $(1)/usr/lib/dovecot/ -name "*.a" -o -name "*.la" | $(XARGS) rm
 endef
 
 $(eval $(call BuildPackage,dovecot-pigeonhole))